﻿using System;
using System.IO;
using System.Xml;

namespace IdmlSharp
{

	/// <summary>
	/// 
	/// </summary>
	internal class DesignMapReader : XmlReader
	{

		#region Constructors

		/// <summary>
		/// 
		/// </summary>
		/// <param name="input"></param>
		protected DesignMapReader(Stream input) : base(input)
		{
			// nothing to do
		}

		#endregion

		/// <summary>
		/// 
		/// </summary>
		/// <param name="input"></param>
		internal static void Read(Stream input, XmlReadingEventHandler handler)
		{
			using (DesignMapReader instance = new DesignMapReader(input))
			{
				instance.Read(handler);
			}
		}
	}
}
